package com.max.eshop.core;

import java.util.Date;

public class Order {
	private int orderId;
	private Boolean status;
	private Date date;
	private Integer price;
	private String nameBook;
	private Integer count;

	public Order(Date date, Boolean status, Integer price, String nameBook,
			Integer count) {
		this.setDate(date);
		this.setStatus(status);
		this.setPrice(price);
		this.setNameBook(nameBook);
		this.setCount(count);
	}

	public String getNameBook() {
		return nameBook;
	}

	public void setNameBook(String nameBook) {
		this.nameBook = nameBook;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public int getOrderId() {
		return orderId;
	}

	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}

	public Boolean getStatus() {
		return status;
	}

	public void setStatus(Boolean status) {
		this.status = status;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Integer getPrice() {
		return price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}
}
